package com.service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.baomidou.mybatisplus.service.IService;
import com.entity.Address;
import com.entity.view.AddressView;
import com.entity.vo.AddressVO;
import com.utils.PageUtils;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface AddressService  extends IService<Address> {
    PageUtils queryPage(Map<String, Object> params);

    List<AddressVO> selectListVO(Wrapper<Address> wrapper);

    AddressVO selectVO(@Param("ew") Wrapper<Address> wrapper);

    List<AddressView> selectListView(Wrapper<Address> wrapper);

    AddressView selectView(@Param("ew") Wrapper<Address> wrapper);

    PageUtils queryPage(Map<String, Object> params,Wrapper<Address> wrapper);
}
